<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>lib Test</title>
<!-- lib js -->
<script type="text/javascript" src="../../src/FDLib/FDLib.js"></script>
<script type="text/javascript" src="../../src/FDLib/FDLib.util.js"></script>
<script type="text/javascript" src="../../src/FDLib/FDLib.ajax.js"></script>
<script type="text/javascript" src="../../src/FDLib/FDLib.browser.js"></script>
<script type="text/javascript" src="../../src/FDLib/FDLib.dom.js"></script>
<script type="text/javascript" src="../../src/FDLib/FDLib.event.js"></script>
<script type="text/javascript" src="../../src/FDLib/FDLib.string.js"></script>
<script type="text/javascript" src="../../src/FDLib/JString.js"></script>
<style type="text/css">
	.red {background-color: red;}
	.blue {background-color: blue;}
	.border1 {border: 3px solid black;}
	.border2 {border: 4px solid black;}
</style>
<script type="text/javascript">

Function.prototype.extend = function(methods) {
	var proto = this.prototype;
	for(var methodName in methods) {
		proto[methodName] = methods[methodName];
	}
}

FDLib.createClass('Person',function(opts){
	this.name = 'a';
});

Person.extend({
	setName:function(name) {
		this.name = name;
	}
	,getName : function() {
		console.log(this.name);
	}
});

var p = new Person();
p.setName('Jim')
p.getName();

/// 
FDLib.createClass('Man',function(opts){
	Man.superclass.constructor.call(this,opts);
},Person);

var m = new Man();
m.setName('Tom')
m.getName();

</script>
</head>
<body>

</body>
</html>